package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 student
 * 
 * @author ruoyi
 * @date 2024-02-25
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long studentId;

    /** 学校表主键ID */
    @Excel(name = "学校表主键ID")
    private Long sid;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String studentSex;

    /** 学生年龄 */
    @Excel(name = "学生年龄")
    private String studentAge;

    /** 出生年月 */
    @Excel(name = "出生年月")
    private String dateOfBirth;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNumber;

    /** 学籍 */
    @Excel(name = "学籍")
    private String studentStatus;

    /** 住址 */
    @Excel(name = "住址")
    private String studentAddress;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String studentPhone;

    /** 属于几年级（1.小学1 2.小学2 3.小学3 4.小学4 5.小学5 6.小学6 7.初一 8.初二 9.初三 10.高一 11.高二 12.高三 13.大一 14.大二 15.大三 16.大四 17.小升初 18.初升高） */
    @Excel(name = "属于几年级", readConverterExp = "1=.小学1,2=.小学2,3=.小学3,4=.小学4,5=.小学5,6=.小学6,7=.初一,8=.初二,9=.初三,1=0.高一,1=1.高二,1=2.高三,1=3.大一,1=4.大二,1=5.大三,1=6.大四,1=7.小升初,1=8.初升高")
    private Long studentBelongToGrade;

    /** 属于几班（默认小学初中高中每个年级12个班） */
    @Excel(name = "属于几班", readConverterExp = "默=认小学初中高中每个年级12个班")
    private Long studentBelongToClass;

    /** 属于哪个分科（1.文科 2.理科 注：只有高中才会用到该字段） */
    @Excel(name = "属于哪个分科", readConverterExp = "1=.文科,2=.理科,注=：只有高中才会用到该字段")
    private Long division;

    /** 分数（可做排行） */
    @Excel(name = "分数", readConverterExp = "可=做排行")
    private String fraction;

    /** 状态（1.正常 2.失效） */
    @Excel(name = "状态", readConverterExp = "1=.正常,2=.失效")
    private Long status;

    /** 是否删除（1.正常 2.已删除） */
    @Excel(name = "是否删除", readConverterExp = "1=.正常,2=.已删除")
    private Long isDelete;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentSex(String studentSex) 
    {
        this.studentSex = studentSex;
    }

    public String getStudentSex() 
    {
        return studentSex;
    }
    public void setStudentAge(String studentAge) 
    {
        this.studentAge = studentAge;
    }

    public String getStudentAge() 
    {
        return studentAge;
    }
    public void setDateOfBirth(String dateOfBirth) 
    {
        this.dateOfBirth = dateOfBirth;
    }

    public String getDateOfBirth() 
    {
        return dateOfBirth;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setStudentStatus(String studentStatus) 
    {
        this.studentStatus = studentStatus;
    }

    public String getStudentStatus() 
    {
        return studentStatus;
    }
    public void setStudentAddress(String studentAddress) 
    {
        this.studentAddress = studentAddress;
    }

    public String getStudentAddress() 
    {
        return studentAddress;
    }
    public void setStudentPhone(String studentPhone) 
    {
        this.studentPhone = studentPhone;
    }

    public String getStudentPhone() 
    {
        return studentPhone;
    }
    public void setStudentBelongToGrade(Long studentBelongToGrade) 
    {
        this.studentBelongToGrade = studentBelongToGrade;
    }

    public Long getStudentBelongToGrade() 
    {
        return studentBelongToGrade;
    }
    public void setStudentBelongToClass(Long studentBelongToClass) 
    {
        this.studentBelongToClass = studentBelongToClass;
    }

    public Long getStudentBelongToClass() 
    {
        return studentBelongToClass;
    }
    public void setDivision(Long division) 
    {
        this.division = division;
    }

    public Long getDivision() 
    {
        return division;
    }
    public void setFraction(String fraction) 
    {
        this.fraction = fraction;
    }

    public String getFraction() 
    {
        return fraction;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("sid", getSid())
            .append("studentName", getStudentName())
            .append("studentSex", getStudentSex())
            .append("studentAge", getStudentAge())
            .append("dateOfBirth", getDateOfBirth())
            .append("nation", getNation())
            .append("cardNumber", getCardNumber())
            .append("studentStatus", getStudentStatus())
            .append("studentAddress", getStudentAddress())
            .append("studentPhone", getStudentPhone())
            .append("studentBelongToGrade", getStudentBelongToGrade())
            .append("studentBelongToClass", getStudentBelongToClass())
            .append("division", getDivision())
            .append("fraction", getFraction())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
